Skip to content

fix(antigravity): expose effort levels in CLI catalog and preserve Full access in agy-acp - #16

Merged
rune-gh merged 1 commit into
mainfrom
fix/antigravity-effort-and-yolo
Nov 22, 2026
Merged

rune-gh merged 1 commit into
mainfrom
fix/antigravity-effort-and-yolo

Conversation

@rune-gh

@rune-gh rune-gh commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Summary

Two related Antigravity fixes, combined because both touch deploy/t3code/agy-acp:

Full access (yolo) no longer drops back to approval prompts

  • deploy/t3code/agy-acp: ModeBridge tracks the mode each session asked for. When agy reports accept-edits back to T3 Code, the bridge keeps yolo (Full access) instead of downgrading it to auto_edit. That downgrade caused the repeated approval prompts in Full access sessions.
  • A remembered mode is reverted when the request fails. An agent-initiated switch to default clears yolo. In-flight updates can't overwrite a pending yolo.

Effort levels in the Antigravity CLI catalog

  • internal/client/antigravitycli/models.go and internal/api/server_routes.go: /v1beta/models for antigravity/cli/ requests now:
    • removes duplicate effort-suffixed and aliased models
    • expands thinking-capable models into the effort levels agy supports, within agy's 32-entry cap
    • sets thinking: true
    • omits invalid outputTokenLimit >= inputTokenLimit values
  • agy-acp clamps out-of-range thought_level updates to the levels the active model offers, including after a model switch.

Docs / tests

  • deploy/t3code/agy_acp_test.py (10 tests), internal/api/server_antigravity_cli_models_test.go, internal/client/antigravitycli/models_test.go
  • docs/t3code.md, docs/troubleshooting.md, CHANGELOG.md

Test plan

  • python3 -m unittest discover -s deploy/t3code -p '*_test.py': 10/10 pass
  • make fmt-check, go vet ./...
  • go test ./internal/client/antigravitycli/... ./internal/api/... ./sdk/api/handlers/gemini/...
  • go build ./cmd/server

🤖 Generated with Claude Code

…ll access in agy-acp

Combines the Antigravity CLI catalog effort-level expansion with the agy-acp ModeBridge updates:

- internal/client/antigravitycli & internal/api/server_routes.go: format /v1beta/models for antigravity/cli/ requests by deduplicating effort-suffixed/aliased models, expanding thinking-capable models into agy-supported effort levels within agy's 32-entry cap, setting thinking: true, and omitting invalid outputTokenLimit >= inputTokenLimit values.
- deploy/t3code/agy-acp: track per-session requested mode so yolo (Full access) is preserved when agy reports accept-edits back to T3 Code instead of downgrading to auto_edit, and clamp out-of-range thought_level updates to the active model's offered levels.
- deploy/t3code/agy_acp_test.py, docs/t3code.md, docs/troubleshooting.md, CHANGELOG.md: unit tests and documentation updates.
@rune-gh
rune-gh merged commit 75e9e78 into main Nov 22, 2026
6 checks passed
@rune-gh
rune-gh deleted the fix/antigravity-effort-and-yolo branch November 22, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant